﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/MasterPages/Core.Master"
    CodeBehind="ClientProsecution.aspx.cs" Inherits="Pap.Web.Modules.Loan.Views.ClientProsecution"
    meta:resourcekey="PageResource1" %>

<asp:Content runat="server" ContentPlaceHolderID="ContentPlaceHolder1">
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <ext:FitLayout ID="FitLayout1" runat="server" IDMode="Legacy" meta:resourcekey="FitLayout1Resource1">
        <ext:FormPanel ID="panelWhole" IDMode="Static" runat="server" Title="Client Prosecution"
            meta:resourcekey="panelWholeResource1">
            <Defaults>
                <ext:Parameter Name="Anchor" Value="50%" />
            </Defaults>
            <Body>
                <ext:FormLayout ID="FormLayout1" runat="server" ElementStyle="" ItemCls="" meta:resourcekey="FormLayout1Resource1">
                    <ext:Anchor>
                        <ext:TextField runat="server" ID="txtLoanNumber" FieldLabel="LoanNumber" Disabled="True"
                            meta:resourcekey="txtLoanNumberResource1" Text="" />
                    </ext:Anchor>
                    <ext:Anchor>
                        <ext:TextField runat="server" ID="txtCustomerName" FieldLabel="CustomerName" Disabled="True"
                            meta:resourcekey="txtCustomerNameResource1" Text="" />
                    </ext:Anchor>
                    <ext:Anchor>
                        <ext:TextField runat="server" ID="txtCaseNumber" FieldLabel="CaseNumber" AllowBlank="False"
                            Regex="^[0-9]+$" MaxLength="18" meta:resourcekey="txtCaseNumberResource1" Text="" />
                    </ext:Anchor>
                    <ext:Anchor>
                        <ext:DateField runat="server" ID="dateCaseDate" FieldLabel="CaseDate" AllowBlank="False"
                            MaxDate="" meta:resourcekey="dateCaseDateResource1" MinDate="" SelectedDate="" />
                    </ext:Anchor>
                    <ext:Anchor Horizontal="95%">
                        <ext:TextArea runat="server" ID="txtNotes" FieldLabel="Notes" meta:resourcekey="txtNotesResource1"
                            Text="" />
                    </ext:Anchor>
                </ext:FormLayout>
            </Body>
            <BottomBar>
                <ext:StatusBar runat="server" meta:resourcekey="StatusBarResource1">
                    <Items>
                        <ext:Button runat="server" ID="btnProsecute" Text="Prosecute" Icon="ScriptGo" meta:resourcekey="btnProsecuteResource1">
                            <AjaxEvents>
                                <Click OnEvent="BtnProsecute_Clicked" Before="return Ext.getCmp('panelWhole').getForm().isValid();">
                                    <Confirmation Message="<%$Resources:MSGConfirmation %>" ConfirmRequest="true" BeforeConfirm="return Ext.getCmp('panelWhole').getForm().isValid();"
                                        Title="<%$Resources:TitleConfirmation %>" />
                                    <EventMask ShowMask="true" />
                                </Click>
                            </AjaxEvents>
                        </ext:Button>
                    </Items>
                </ext:StatusBar>
            </BottomBar>
        </ext:FormPanel>
    </ext:FitLayout>
</asp:Content>
